package com.linkedbear.springboot.config;

import com.linkedbear.springboot.component.Person;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

// 基于注解配置类的手动装配
@Configuration
public class ExampleConfiguration {
    @Bean
    public Person person() {
        return new Person();
    }
}
